package com.reflex.dao;

/**
 * @Author: lizehui
 * @Description:
 * @Date: 2022/11/18/11:22
 */
public class Cat {

    private String name = "招财猫";

    public Integer age = 10;

    //无参构造器
    public Cat() {
    }

    //有参数构造器
    public Cat(String name) {
        this.name = name;
    }

    public void hi(){
        System.out.println("hi" + name);
    }

    public void eat(){
        System.out.println(name + "eat。。");
    }

    public void speed(){
    }


}
